package com.foxzzz.datamemory.entity;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Data
@Entity
public class ReadRecord {
    @Id
    private String id;
    private String docId;
    private String docName;
    private Date createDate;
    private Integer reviewTime;
    private Date lastReview;
    private Date lastNeedReview;
    private String path;
    private String state;
    private String title;
    @Column(columnDefinition = "TEXT")
    private String text;
}
